@import './reset.less';

html, body{
  width: 100%;
  height: 100%;
  // min-width: 1366px;
  // min-height: 768px;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul,
ol {
  list-style: none;
}

.page-container{
  width: 100%;
  height: 100%;
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page-main-container{
  flex: 1;
  width: 100%;
  overflow: auto;
  padding: 10px;
  box-sizing: border-box;
}

.flex{
  display: flex;
}

.ant-form{
  .ant-row{
    display: flex;
    .ant-form-item-label{
      flex: 0 0 min-content;
    }
    .ant-form-item-control-wrapper{
      margin-left: 10px;
      flex: 1;
    }
  }
}

.extend-click-area{
  position: relative;
  display: inline-block;
  &:after{
    content: '';
    display: block;
    position: absolute;
    left: -20px;
    right: -20px;
    top: -20px;
    bottom: -20px;
  }
}

.ant-table-scroll{
  .ant-table-body{
    overflow: auto !important;
  }
}